package com.slb.slnwp.common.utils;

import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author: joinly
 * @date: 2021/9/18 14:09
 * @desc:
 **/
@Slf4j
public class GlobalConstant {

    //1:产品加工，6:原始数据获取
    public static final int RMPCODE1 = 1;
    public static final int RMPCODE6 = 6;

    //日志状态1=正常；2-告警；3-错误 warning, 日志信息类型:1=执行器开始日志；2=算法日志；3=执行器结束日志
    public static final int LOGTYPE_NORMAL = 1;
    public static final int LOGTYPE_WARNING = 2;
    public static final int LOGTYPE_ERROR = 3;

    public static final Map<String, String> DIRECTION_MAP = new HashMap<String, String>() {
        {
            put("NORTHEAST", "ne");
            put("SOUTHEAST", "se");
            put("SOUTHWEST", "sw");
            put("NORTHWEST", "nw");
        }

    };

    public static final Map<String, String> WIND_LEVEL_MAP = new HashMap<String, String>() {
        {
            put("30", "radius7");
            put("50", "radius10");
            put("64", "radius12");
        }

    };

}
